package com.karson.service.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.karson.common.model.AlbumInfo;
import com.karson.common.request.AlbumSearchRequest;
import com.karson.common.response.AlbumRJCode;
import com.karson.common.response.AlbumResponse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.karson.common.response.FavoriteAlbumResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ZKS
* @description 针对表【ar_album_info(专辑信息)】的数据库操作Mapper
* @createDate 2025-07-10 13:41:05
* @Entity com.karson.service.AlbumInfo
*/
public interface AlbumInfoMapper extends BaseMapper<AlbumInfo> {

    IPage<AlbumResponse> getPageList(IPage<AlbumResponse> albumResponseIPage, AlbumSearchRequest albumSearchRequest);

    List<AlbumResponse> getAlbumByIds(@Param("ids") List<Integer> ids);

    List<Integer> getCandidateIds(AlbumSearchRequest albumSearchRequest, Integer weightCount);

    AlbumResponse getAllAlbumInfoById(Integer albumId);

    List<FavoriteAlbumResponse> getPageListById(@Param("ids") List<Integer> messageIdList);

    List<AlbumRJCode> getAlbumRJCode();

    List<AlbumInfo> monthSettlement();
}




